package com.yc.service;

import com.yc.entities.BloodSugarPermission;
import com.yc.entities.BloodSugarUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.entities.custom.UserRoleBean;

import java.util.List;

/**
 * <p>
 * 用户主体账户信息表 服务类
 * </p>
 *
 * @author kuakha
 * @since 2021-04-07
 */
public interface BloodSugarUserService extends IService<BloodSugarUser> {

    UserRoleBean getUserRoleByUserId(Integer id);

    List<BloodSugarPermission> selectPermissionInfoByUserAccount(String account);

    int insert(BloodSugarUser bloodSugarUser);

    int saveDeanAccount(BloodSugarUser bloodSugarUser);
}
